<template>
    <div class="flex gap-2">
        <el-tag type="success" v-for="tag in tags" @click="goToIndustry(tag)" :key="tag">{{ tag }}</el-tag>
    </div>
</template>

<script setup lang="ts">

const props = defineProps<{
    tags: string[]
}>()

const goToIndustry = (tag : string) => {
    console.log(tag)
}
</script>